package com.sinry.swagger.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author linxinlei
 * @project sinry-cloud
 * @description swagger配置
 * @date 2022/5/21
 **/
@Data
@Configuration
@ConditionalOnProperty(name = "sinry.swagger.enable", havingValue = "true")
@ConfigurationProperties(value = "sinry.swagger.info")
public class SwaggerProperties {

    private String name;

    private String version;

    private String group;

    private String packagePath;
}
